package yl.hs.bmipfull.service.production;

import yl.hs.bmipfull.pojo.vehiclemanage.TruckInfoEntity;
import yl.hs.bmipfull.service.IBaseService;
import yl.hs.bmipfull.viewmodels.WeightApp.WeightData;

import java.math.BigDecimal;

/*
 * IWeightService
 * @category
 * @author 谢景广
 * @date 2022-04-13
 */
public interface IWeightService extends IBaseService {
    /**
     * 保存称重信息
     * @param dbSno 地磅编号
     * @param weight 称重重量
     * @param discern 识别方式
     * @param handlerType 过磅类型 false：原材入库；true:产品发货
     * @param weighType 称重类型 false:第一次称重；true:第二次称重
     * @param orgWeight 地磅读数重量
     * @param handler 当前值班员
     * @return 保存称重结果
     */
    WeightData Save(String dbSno,BigDecimal weight, String discern, boolean handlerType, boolean weighType, BigDecimal orgWeight,String handler,String carname,String stationType,String truckNum);


    Integer appendOrderPrintCount(int orderType, String orderID);
}
